#include "../../Headers/Classes/advancedoption.h"

AdvancedOption::AdvancedOption()
{
    setId(0);
    setName("");
    setCost(0);
}

AdvancedOption::AdvancedOption(int id, QString name, double cost)
{
    setId(id);
    setName(name);
    setCost(cost);
}

void AdvancedOption::setId(int id)
{
    this->id = id;
}

void AdvancedOption::setName(QString name)
{
    this->name = name;
}

void AdvancedOption::setCost(double cost)
{
    this->cost = cost;
}

int AdvancedOption::getId()
{
    return id;
}

QString AdvancedOption::getName()
{
    return name;
}

double AdvancedOption::getCost()
{
    return cost;
}
